package com.shxy.api.controller.ui;

import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 用户登录数据
 */
@Data
public class LoginData {
    @NotBlank(message = "账号不能为空")
    private String username;
    @NotBlank(message = "密码不能为空")
    private String password;
}
